#include "Joint.h"

Joint::Joint(int maxChildren)
{
	this->numChildren = 0;
	this->maxChildren = maxChildren;
	this->position = new JointPositionObj();
	if(this->maxChildren > 0) {
		this->children = new Joint*[this->maxChildren];
	}
	this->enabled = true;
}

Joint::~Joint(void)
{
	delete this->position;
	delete this->children;
}
